<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%>
<%
    // your java code
%>
<%@ include file="/pages/include/header.jsp" %>

<body>

    <div><%exception.printStackTrace();%></div>

</body>

<%@ include file="/pages/include/footer.jsp" %>
